Prefab view 2D

Prefab view 2D properties

Name Description Inherited Exported to Kanzi Engine
Tags List of tags attached to the item No No
Effective Data Context The data context in the current node that is resolved from data context properties and bindings No No
Name Name of the project item No No
Created The time when the project item was created No No
Component Type The component type of this component node No No

Prefab view 2D available properties

Name Description Inherited Exported to Kanzi Engine
Disable KZB Export Disables the exporting of the item into KZB. Can be used for, e.g. letting items out from certain profiles. The disabled items are always included in preview. No No
Bindings The list of expression property bindings the item is part of No No
Brush Color Color for brush. Set alpha to 0 to disable brush. No Yes
Brush Texture Texture for brush. No Yes
Align To Tangent If set, aligns laid out items to match the trajectory's tangent. Vertical trajectories are not supported. No Yes
Allowed Scroll Axis Sets the axis on which you want to allow this List Box node to scroll. No Yes
Cursor Offset Offset of the position that is used for selecting the active object, in proportional range [0,1]. No Yes
Dragging Acceleration How fast scrolling accelerates when dragging in trajectory list box. No Yes
Dragging Drag How much drag affects scrolling when dragging in trajectory list box. No Yes
Dragging Impulse How much impulse is generated from pointing device movement when dragging in trajectory list box. No Yes
Item Area Begin Offset of starting point of the area in which the child object is fully visible. Used for property VisibleAmountInParent. No Yes
Item Area End Offset of ending point of the area in which the child object is fully visible. Used for property VisibleAmountInParent. No Yes
Looping Is list box looping No Yes
Maximum Number of Touches Maximum number of touch points allowed for the scroll view pan in trajectory list box. No Yes
Minimum Number of Touches Required number of touch points pressed for the scroll view pan to start in trajectory list box. Scroll view with minimum number of touches greater than one will preceed the inner scroll views in touch processing. No Yes
Recognition Threshold How much the pointing device has to move for scrolling to start in trajectory list box. No Yes
Scroll Axis Direction of Scroll View's primary axis in trajectory list box No Yes
Scroll Sensitivity How much the scroll value changes relative to pointing device movement on the scroll view plane in trajectory list box. No Yes
Sliding Acceleration How fast scrolling accelerates when sliding in trajectory list box. No Yes
Sliding Drag How much drag affects scrolling when sliding in trajectory list box. No Yes
Spacing Distance between items in a trajectory list box. No Yes
Swipe Distance How far a swipe sends the scroll value in trajectory list box, relative to pointing device speed. No Yes
Trajectory The trajectory to use. No Yes
Prefab Template Node to use on this prefab view. No Yes
Primary Direction The direction along which the layout arranges items until the layout limit in that direction is reached. No Yes
Secondary Direction The direction along which the flow layout arranges lines of the primary direction. No Yes
Columns Defines the number of columns in a grid layout and how the grid layout distributes the content in columns. No Yes
Layout Direction The direction in which the items are arranged when you add them to a grid layout. No Yes
Rows Defines the number of rows in a grid layout and how the grid layout distributes the content in rows. No Yes
Items Source Data object which provides data sources for list items. No Yes
Cell Height Height of one list box cell No Yes
Cell Width Width of one list box cell No Yes
Dragging Acceleration How fast scrolling accelerates when dragging in grid list box. No Yes
Dragging Drag How much drag affects scrolling when dragging in grid list box. No Yes
Dragging Impulse How much impulse is generated from pointing device movement when dragging in grid list box. No Yes
Item Area Begin Proportional offset where the area meant for items starts No Yes
Item Area End Proportional offset where the area meant for items ends No Yes
Layout Direction The direction in which the grid list box arranges its items.
When you change the layout direction you also change
the scroll axis of the grid list box.
No Yes
Maximum Number of Touches Maximum number of touch points allowed for the scroll view pan in grid list box. No Yes
Minimum Number of Touches Required number of touch points pressed for the scroll view pan to start in grid list box. Scroll view with minimum number of touches greater than one will preceed the inner scroll views in touch processing. No Yes
Recognition Threshold How much the pointing device has to move for scrolling to start in grid list box. No Yes
Scroll Axis Direction of Scroll View's primary axis in grid list box No Yes
Scroll Position The current scroll value of grid list box (read-only). No Yes
Scroll Sensitivity How much the scroll value changes relative to pointing device movement on the scroll view plane in grid list box. No Yes
Scroll Speed The current scroll speed of grid list box (read-only). No Yes
Scroll Target Position The current target scroll value of the grid list box (read-only). No Yes
Scrolling Is the grid list box currently scrolling (read-only). No Yes
Sliding Acceleration How fast scrolling accelerates when sliding in grid list box. No Yes
Sliding Drag How much drag affects scrolling when sliding in grid list box. No Yes
Swipe Distance How far a swipe sends the scroll value in grid list box, relative to pointing device speed. No Yes
Item Container Generator Name of the item container generator type to use for providing item containers dynamically for the list box. No Yes
Item Container Template If set, the default item container generator uses this to instantiate item containers. No Yes
Item Generator Name of the item generator type to use for providing items dynamically to the list box. No Yes
Item Template If set, the list item generator uses this to instantiate items. No Yes
Keep Alive Item Count Size of the buffer for invisible list box items. Invisible items that don't fit the buffer are returned to the Object Generator. No Yes
Selected Item Index Index of selected list box item. No Yes
Selection Behavior Specifies the behavior for the list box scroll when an item is clicked. No Yes
Allowed Scroll Axis Sets the axis on which you want to allow this Scroll View node to scroll. No Yes
Dragging Acceleration Sets the acceleration of the node controlled by a Scroll View node while you drag that Scroll View node. Use low values when you want that node to slowly reach the final position. Use high values when you want that node to quickly reach the final position. No Yes
Dragging Drag Sets the amount that drag affects the movement of the node controlled by a Scroll View node while you drag that Scroll View node. The lower the value the higher the drag and the faster the sliding of that node stops. No Yes
Dragging Impulse Sets the amount of impulse generated from the pointing device movement when dragging a Scroll View node. No Yes
Looping X Enabled Sets the node controlled by a Scroll View node to start scrolling from the beginning when the scroll reaches the scroll bounds on the x axis. When the scroll value reaches the maximum value of the bound, the value changes to the minimum value and the other way around. Use the Scroll Bounds Minimum and Scroll Bounds Maximum properties to set the scroll bounds. No Yes
Looping Y Enabled Sets the node controlled by a Scroll View node to start scrolling from the beginning when the scroll reaches the scroll bounds on the y axis. When the scroll value reaches the maximum value of the bound, the value changes to the minimum value and the other way around. Use the Scroll Bounds Minimum and Scroll Bounds Maximum properties to set the scroll bounds. No Yes
Maximum Number of Touches Sets the maximum number of touch points allowed for a Scroll View pan. No Yes
Maximum Zoom Sets the maximum zoom level. No Yes
Minimum Number of Touches Sets the required number of touch points pressed for a Scroll View node pan to start. Scroll View nodes with minimum number of touches greater than one precede the children in touch processing. No Yes
Minimum Zoom Sets the minimum zoom level. No Yes
Recognition Threshold Sets the amount a pointing device must move for the scrolling to start on a Scroll View node. No Yes
Scroll Axis Sets the direction of the primary axis of a Scroll View node. No Yes
Scroll Bounds Maximum Sets the coordinates of the bottom-right corner of the scroll bounds rectangle. Scroll bounds define where the scrolling begins and ends. No Yes
Scroll Bounds Minimum Sets the coordinates of the top-left corner of the scroll bounds rectangle. Scroll bounds define where the scrolling begins and ends. No Yes
Scroll Position The current scroll value (read-only). No Yes
Scroll Sensitivity Sets the amount the position changes relative to the movement of the pointer that starts the swiping. The higher the value the more the position of the node controlled by a Scroll View node changes. Negative values move that node in the opposite direction. No Yes
Scroll Speed The current scroll speed (read-only). No Yes
Scroll Target Position The current target scroll value (read-only). No Yes
Scrolling Whether a Scroll View node is currently scrolling (read-only). No Yes
Sliding Acceleration Sets the acceleration of the node controlled by a Scroll View node after you release the pointer with which you swipe. Use low values when you want that node to slowly reach the final position. Use high values when you want that node to quickly reach the final position. No Yes
Sliding Drag Sets the amount that drag affects the movement of the node controlled by a Scroll View node after you release the pointer with which you swipe. The lower the value the higher the drag and the faster the sliding of the object controlled by the Scroll View node stops. No Yes
Step Multiplier Sets the smallest distance that a Scroll View scrolls. No Yes
Swipe Distance Sets the distance that a swipe sends the scroll value, relative to the pointing device speed. No Yes
Zoom Sets the current zoom level. No Yes
Zoom Affects Scrolling Controls whether the scroll position is scaled, according to the zoom level. No Yes
Zoom Enabled Sets whether to install a pinch manipulator that generates zoom messages. No Yes
Align To Tangent When set, aligns arranged items to match the tanged of the trajectory. Vertical trajectories are not supported. No Yes
Item Area Begin Defines the starting point of the trajectory segment in which the layout items are considered fully visible.
The value is in [0, 1] range where 0 is the beginning and 1 is the end of the trajectory.
Used for property VisibleAmountInParent.
No Yes
Item Area End Defines the ending point of the trajectory segment in which the layout items are considered fully visible.
The value is in [0, 1] range where 0 is the beginning and 1 is the end of the trajectory.
Used for property VisibleAmountInParent.
No Yes
Override Distance When set the value overrides the distance between items, which otherwise the trajectory layout calculates automatically. No Yes
Start Offset Defines the starting offset on the trajectory from where the items are laid out.
The value is in [0, 1] range, where 0 is the beginning and 1 is the end of the trajectory spline.
No Yes
Trajectory The trajectory to use in a trajectory layout. No Yes
Layout Height The height of the node when used in a layout. Overrides the default bounds of the item. No Yes
Layout Width The width of the node when used in a layout. Overrides the default bounds of the item. No Yes
Global Ambient Color The color that is multiplied automatically with the "Ambient" property of the materials in the scene. No Yes
Glyph Texture The automatic texture of the glyph cache No Yes
Font Color Sets the color of the text. No Yes
Texture1 Sets the second texture you want the Blit Render Pass to blit. No Yes
Texture2 Sets the third texture you want the Blit Render Pass to blit. No Yes
Texture3 Sets the fourth texture you want the Blit Render Pass to blit. No Yes
Texture0 Sets the first texture you want the Blit Render Pass to blit. No Yes
Blend Intensity Controls the intensity how materials are blended on top of the existing color.
Attached property enables overriding of the blend intensity of the used materials at render pass or object node level
No Yes
Ambient Color The color of the material when no light are present No Yes
Diffuse Color The color of the material when it is lit by a light No Yes
Emissive Color The color of the light that is emitted from the material surface No Yes
Mask Texture Texture for masking other texture or color No Yes
Mask Texture Offset Sets an offset for mask in materials No Yes
Mask Texture Tiling Determines how many times mask is presented in material No Yes
Specular Color The color of the specular reflection No Yes
Specular Exponent Determines the size of the specular highlight No Yes
Texture The texture of the material No Yes
Texture Offset Sets an offset for texture in materials No Yes
Texture Tiling Determines how many times texture is presented in material No Yes
Blend Mode Controls how blending is performed. Attached property enables overriding of the blend mode of the used materials at render pass or object node level.
Use "Alpha: Automatic" setting to use premultiplied or non-premultiplied alpha depending on the value of "Use Premultiplied Alpha by Default" project setting.
No Yes
Data Context Source of data for this node and its descendants No Yes
Actual Layout Height The calculated height of the node when used in a layout. No Yes
Actual Layout Width The calculated width of the node when used in a layout. No Yes
Horizontal Margin The margin in horizontal direction the node should use when it resides under a layout No Yes
Vertical Margin The margin in vertical direction the node should use when it resides under a layout No Yes
Bottom Image The image to use in middle of the bottom row. No Yes
Bottom-Left Image Image to use in the bottom-left corner. No Yes
Bottom-Right Image The image to use in the bottom-right corner. No Yes
Center Image The image to use in the center. No Yes
Left Image The image to use in the center-left. No Yes
Right Image The image to use in the center-right. No Yes
Top Image The image to use in the middle of the top row. No Yes
Top-Left Image The image to use in the top-left corner. No Yes
Top-Right Image The image to use in the top-right corner. No Yes
Focused Indicates whether the node has actives focus. No Yes
Logical Focus Indicates whether the node has logical focus. No Yes
Node.Path Node full path. No Yes
Is Value Changing Whether or the value is currently changing. No Yes
Maximum Value The maximum value that the range allows. No Yes
Minimum Value The minimum value that the range allows. No Yes
Normalized Value The current value normalized to range [0, 1]. No Yes
Step Value The minimum amount that the value of the range can change at a time. No Yes
Value The current value. No Yes
State Manager State Manager applied to the current node No Yes
Style Style applied to the current node No Yes
Maximum Distance From Curve The distance from the curve where hit testing succeeds. No Yes
Horizontal Padding Sets the padding spaces between the content and the left and right boundaries of the Text Block node. No Yes
Vertical Padding Sets the padding spaces between the content and the top and bottom boundaries of the Text Block node. No Yes
Baseline Font baseline in 3D space units. No Yes
Two Pass Rendering Defines whether the Text Block 3D is rendered in two passes.
Disabling the two pass rendering improves performance, but can cause invalid rendering results when glyph bounds overlap.
No Yes
Font The font used to render the text. No Yes
Character Spacing Sets the character spacing in device-independent pixels. No Yes
Constrain Content Height Sets whether to cut the lines at the bottom of the Text Block node that do not fit within the boundaries of that node. No Yes
Fixed Character Width When set, overrides the font advance widths to make each character take a fixed amount of space specified in device-independent pixels. No Yes
Font Material Sets the material whose shader is used to render the text. The shader must use the ContentTexture uniform which is automatically filled with glyph data. No Yes
Font Size Sets the size of the font in device-independent pixels. No Yes
Line Spacing Sets the line spacing in multiples of the normal line height of the selected font. No Yes
Overflow Sets the characters that represent the clipped text when the text string to be rendered is too long to fit in the node. No Yes
Remove Side Bearings Whether to position the leftmost characters of left-aligned text and rightmost characters of right-aligned text exactly within the boundary of the Text Block node. No Yes
Text Sets the text content that the Text Block node renders.
To create a line break press Shift+Enter.
No Yes
Text Horizontal Alignment Sets the horizontal alignment of the text. No Yes
Text Vertical Alignment Sets the vertical alignment of the text. No Yes
Word Wrap Sets whether to break long lines into multiple lines to make the text fit within the boundaries of the Text Block node. No Yes
Opacity Opacity of the node. No Yes
Brush Modulate Color Modulation color for brush. Effects brush rendering that needs color modulation. No Yes
Brush Horizontal Tiling Horizontal Tiling for the brush. Affects the scale of texture coordinates. No Yes
Brush Vertical Tiling Vertical Tiling for the brush. Affects the scale of texture coordinates. No Yes
Export in Asset Package When enabled, this item is exported into asset package if this project is saved as one. No No
Background Brush The background brush to paint the background of 2D nodes. No Yes
Image The image to display. No Yes
Content Stretch Sets how the content that belongs to this node is stretched (as opposed to manipulating the actual node size). No Yes
Aspect Ratio Determines the proportion of width and height. You cannot set both the Aspect Ratio and both, Width and Height. No Yes
Force Composition Force rendering to composing target even if not otherwise necessary. No Yes
Snap to Pixel Snap the translation of the node and its size into pixel boundary. No Yes
Cache Children Cache child nodes into a render target. See also Cache Self. No Yes
Cache Result Cache final result (combination of itself and its children) into a render target. No Yes
Cache Self Cache node contents into a render target. See also Cache Children. No Yes
Disable Render Target Clear Color Do not clear render target buffers before rendering into it even if necessary. No Yes
Off-Screen Rendering When set and the node has an explicitly set render target, do not render the resulting framebuffer to screen. No Yes
Pixel Format The pixel format of the node if rendering to a texture. No Yes
Render Self Whether the node renders itself. Does not affect the rendering of child nodes. No Yes
Render Target Forces the node to be rendered into a given render target texture. When set to "No Target",
regular conditions whether node is rendered to a texture, such as opacity and rotation, are applied.
No Yes
Render Target Minimum Height Sets the minimum height of implicitly generated render targets. No Yes
Render Target Minimum Width Sets the minimum width of implicitly generated render targets. No Yes
Render Target Reallocation Limit The change in size that triggers reallocation of a render target. No Yes
Layout Transformation The 2D transformation to be applied before layouting. No Yes
Perspective Transformation The 3D transformation to be applied after layouting. No Yes
Render Transformation The 2D transformation to be applied after layouting. No Yes
Render Transformation Origin Sets the render transform origin in relative coordinates. No Yes
Camera Sets which camera to use in scenes rendered by the selected Viewport 2D. If not set, Kanzi uses the camera in the scene. No Yes
Hit Test Camera Sets which hit test camera to use in scenes rendered by the selected Viewport 2D. If not set, Kanzi uses the camera in the scene. No Yes
Render Pass Sets which render pass to use in scenes rendered by the selected Viewport 2D. If not set, Kanzi uses the render pass used by the scene. No Yes
Direction Defines the axis along which the stack layout arranges its items. No Yes
Reversed Defines whether the stack layout arranges its items in reverse order. No Yes
Horizontal Alignment The alignment in horizontal direction the node should use when it resides under a layout. No Yes
Vertical Alignment The alignment in vertical direction the node should use when it resides under a layout. No Yes
Selected Indicates if list box item container is selected. This property is set by list box on container of an item which was selected. No Yes
Calculated Offset Current relative offset of object in a grid list box, in proportional range [0, 1]. No Yes
Visible Amount in Parent Describes how much of an object is inside its parent. Can be used in shaders to implement fades. Calculated by the parent node. No Yes
Calculated Offset Current offset of item caluclated by the trajectory layout in proportional range [0, 1] (read-only). No Yes
Index In Group Defines the index in the group that the button will have. The group must have the button in its tree.
The button searches for the group upwards. When the value is -1 the button picks the nearest group.
No Yes
Side The docking side of an item in the dock layout. No Yes
Down Navigation Node Set the path to the node to focus on downward direction navigation. No Yes
Focus Scope Set to true if the node is a focus scope. No Yes
Focus Scope Type Sets the type of the focus scope node. No Yes
Left Navigation Node Set the path to the node to focus on left direction navigation. No Yes
Next Focus Node Set the path to the node to focus on forward focus navigation. No Yes
Previous Focus Node Set the path to the node to focus on backward focus navigation. No Yes
Right Navigation Node Set the path to the node to focus on right direction navigation. No Yes
Up Navigation Node Set the path to the node to focus on upward direction navigation. No Yes
Column The column into which grid layout places the item. No Yes
Column Span Defines the number of columns an item in a grid layout occupies. No Yes
Row The row into which grid layout places the item. No Yes
Row Span Defines the number of rows an item in a grid layout occupies. No Yes
Click Enabled Whether to install a click manipulator that generates click messages. No Yes
Double-Click Enabled Whether to install a multi-click manipulator that generates double-click messages. No Yes
Stretch Scale the trajectory to match layout size. No Yes
Trajectory Override Offset Current offset of item manually set, which is otherwise calculated by the trajectory layout. No Yes
Auto Press Interval An interval in milliseconds after which a held down button sends a button click message.
Set to 0 to disable.
No Yes
Down On Hover When enabled, holding a finger on a device screen and moving it over the button, the property transitions the button to the down state. No Yes
Hold Interval Occurs when the button is in down state for the set amount of milliseconds.
Set to 0 to disable.
No Yes
Is Down Whether the button is in down state. No Yes
Toggle State The current toggle state of the toggle button. No Yes
Toggle State Count The number of toggle states of the toggle button. No Yes
Hit Testable When enabled, users can pick the object node from the active scene's default 3D camera. For example, hit testing is needed for button components to work. No Yes
Clip Children Specified whether or not the children should be clipped. Children whose bounding box is completely outside the bounding box of the parent are clipped.
The property is to be used with layout nodes. The children should only use transformation that contain only translation.
No Yes
Focusable Indicates whether the node can receive focus. No Yes
Visible When disabled the scene graph node is not rendered No Yes
Transition Phase The phase of the transition. For example, use for pixel-based effects. No Yes
Description Add a description of the purpose of this item. To export descriptions
to a plain text file, select File > Export > Export Descriptions.
When you export the kzb file, this description is not included in the
exported file.
No No
Foreground Brush The foreground brush to paint the foreground of 2D nodes. No Yes
Composition Brush The brush to use to compose 2D nodes to screen. No Yes
Foreground Hint Give a hint of the type of the foreground of 2D nodes:
- None renders the background brush after rendering the node.
- Translucent renders the background brush before the content of the node.
- Occluding renders the background brush.
No Yes

See also

Using prefabs